/**
 * 
 */
package org.pump.client.type;

/**
 * @author liudong03
 *
 */
public class MyLikeUtils {
	
	public static void printByte(byte[] data)
	{
		for(byte cur : data)
		{
			System.out.print(Integer.toHexString(cur&0xff));
		}
		System.out.println();
	}
	public static void printByte(byte cur)
	{
		
		System.out.println(Integer.toHexString(cur&0xff));
	}
	public static String getPrintByte(byte[] data)
	{
		StringBuffer temp = new StringBuffer("");
		for(byte cur : data)
		{
			temp.append(Integer.toHexString(cur&0xff));
		}
		return temp.toString();
	}
}
